lcBlockAddBlockRef Home

Adds a new block reference object into a block.

 HANDLE lcBlockAddBlockRef (
   HANDLE hBlock,
   HANDLE hRefBlock,
   double X,
   double Y,
   double Scale,
   double Angle
 );

Parameters
hBlock
  Handle to a block.
hRefBlock
  Handle to the referenced block.
X Y
  Coordinates of a block insertion point. The block's base point will be placed at this coordinates.
Scale
  Scale of a block when inserted.
Angle
  Rotation angle of a block when inserted.

Return Value

  Handle to created block reference object or NULL if the function fails.

See Also

  lcDrwAddBlock